//
//  TakeVideoViewController.h
//  NvSellerShow
//
//  Created by dx on 17/6/27.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#include "Utils.h"
@class TakeVideoViewController;

@protocol TakeVideoViewControllerDelegate <NSObject>

@optional

- (void)takeVideoViewController:(TakeVideoViewController *)takeVideoViewController didSelectVideo:(AVAsset *)avasset pan:(float)pan scan:(float)scan;


@end

@interface TakeVideoViewController : UIViewController

@property (weak, nonatomic) id<TakeVideoViewControllerDelegate> delegate;
@property (strong, nonatomic) AVAsset *avasset;


//如果从相册选择视频进入直接预览，点取消的时候不应该进入拍摄而是返回，用个字符串标示
@property (strong, nonatomic) NSString *from;
@property (nonatomic, assign) NvSSVideoCreateScale editmode;

@end
